package designPattern.PipelinePattern3;

/**
 * @author jiangwz
 * @create 2021/9/15.
 */
public class App {

    public static void main(String[] args){

        DefaultRequestPipeline pipeline = new DefaultRequestPipeline();
        RequestHandlerContext ctx = new DefaultRequestHandlerContext(pipeline);
        pipeline.addFirst("first", new FirstHandler());

        pipeline.fireChannelRead(111);

    }
}
